"use strict";
var Group_1 = require('../../models/Group');
var UpdateGroupDto = (function () {
    function UpdateGroupDto() {
    }
    UpdateGroupDto.toGroup = function (groupId, body) {
        var group = new Group_1.Group();
        group._id = groupId;
        group.name = body.name;
        group.description = body.description;
        return group;
    };
    return UpdateGroupDto;
}());
exports.UpdateGroupDto = UpdateGroupDto;
